From 4d7d0f0e040f8cfcf2520c61557ecb035ec6bde2 Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 17 Jun 2005 14:09:13 +0000 Subject: [PATCH] Add protos for gs_get_cachetype. --- defs.h | 1 + maggeo.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/defs.h b/defs.h index 4ac800dcb..ef0e338f1 100644 --- a/defs.h +++ b/defs.h @@ -538,6 +538,7 @@ signed int get_tz_offset(void); time_t current_time(void); signed int month_lookup(const char *m); const char *get_cache_icon(const waypoint *waypointp); +const char *gs_get_cachetype(geocache_type t); char * xml_entitize(const char * str); char * html_entitize(const char * str); char * strip_html(const utf_string*); diff --git a/maggeo.c b/maggeo.c index 5545f7462..94cddd34f 100644 --- a/maggeo.c +++ b/maggeo.c @@ -130,7 +130,7 @@ maggeo_waypt_pr(const waypoint *waypointp) int lon_deg, lat_deg; char *shortname; char *cname = NULL; - char *ctype = NULL; + const char *ctype = NULL; char *placer = NULL; char *lfounddate = NULL; char *placeddate = NULL; -- 2.30.2